package vip.xiaonuo.sys.fymodule.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 平安分账订单冻结充值撤销
 * </p>
 *
 * @author wangy
 * @since 2025-06-19
 */
@Data
@TableName("sxo_safety_order_revoke")
@Schema(name = "SxoSafetyOrderRevoke对象", description = "平安分账订单冻结充值撤销")
public class SxoSafetyOrderRevoke implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private String userId;

    @Schema(description = "订单id")
    @TableField("order_id")
    private String orderId;

    @Schema(description = "订单号")
    @TableField("order_no")
    private String orderNo;

    @Schema(description = "店铺id")
    @TableField("shop_id")
    private String shopId;

    @Schema(description = "店铺名称")
    @TableField("shop_name")
    private String shopName;

    @Schema(description = "支付渠道类型:0001:微信；0002-支付宝")
    @TableField("pay_channel_type")
    private String payChannelType;

    @Schema(description = "支付渠道所分配的商户号(appid)")
    @TableField("pay_channel_assign_mer_no")
    private String payChannelAssignMerNo;

    @Schema(description = "原支付订单所属日期")
    @TableField("old_pay_order_date")
    private String oldPayOrderDate;

    @Schema(description = "总订单号(即第三方支付渠道产生的支付订单号)")
    @TableField("total_order_no")
    private String totalOrderNo;

    @Schema(description = "总交易金额")
    @TableField("tran_total_amt")
    private String tranTotalAmt;

    @Schema(description = "订单数量")
    @TableField("orders_count")
    private String ordersCount;

    @Schema(description = "撤销状态（-1:撤销失败；0：撤销成功）")
    @TableField("revoke_status")
    private Integer revokeStatus;

    @Schema(description = "撤销时间")
    @TableField("revoke_time")
    private String revokeTime;

    @Schema(description = "电商见证宝系统生成的流水号")
    @TableField("jzb_accept_seq_no")
    private String jzbAcceptSeqNo;

    @Schema(description = "状态（0正常, 1删除）")
    @TableField("status")
    private Integer status;

    @Schema(description = "添加时间")
    @TableField("add_time")
    private String addTime;

    @Schema(description = "更新时间")
    @TableField("upd_time")
    private String updTime;
}
